package com.design.appliance;


import com.design.ApplianceAbstract;
import com.design.remote.IRemote;

/**
 * 空调
 */
public class AirConditioner extends ApplianceAbstract {

    public AirConditioner(IRemote remote) {
        super(remote);
    }

    @Override
    public void work() {
        remote.open();
        System.out.println("空调开始工作");
    }
}
